package work.base.jvm.class_eg;

import work.entity.User;

/**
 * class对象的一些属性
 */
public class ClassTest01 {
    public static void main(String[] args) {
        User user = new User("1","A","A");
        System.out.println(user.getClass());
        // 返回结果是字符串
        System.out.println(user.getClass().getName());
        System.out.println(user.getClass().getTypeName());
        System.out.println(user.getClass().getSimpleName());
    }
}
